;; (RunningSum in numsamp)

;;; A running sum over a user specified number of samples, useful for
;;; running RMS power windowing.

;; in     - Input signal
;; numsamp - How many samples to take the running sum over (initialisation rate)

(RunningSum.ar (AudioIn.ar '(1 2)) 40 1/40)
	
(Mul (RunningSum.rms (AudioIn.ar '(1 2)) 40) 0.25)

